package com.zhonghualub.base.rpc;

import com.zhonghualub.base.repository.IGoodsRepository;
import com.zhonghualub.common.rpc.base.BaseRpcService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author: ys
 * desc:
 * date: 2020/11/14
 */
@Service
public class BaseRpcServiceImpl implements BaseRpcService {

    @Autowired
    private IGoodsRepository goodsRepository;

    @Override
    public void testRpc(String name) {
        goodsRepository.testRpc(name);

    }
}
